package book.service.impl;

import java.util.List;

import book.dao.BookDao;
import book.dao.impl.BookDaoImpl;
import book.service.BookService;
import book.util.Book;

public class BookServiceImpl implements BookService{
	private BookDao as=new BookDaoImpl();
	public int insertinto(Book book) {
	
		return as.insertinto(book);
	}

	public int deletefrom(int Book_id) {
		
		return as.deletefrom(Book_id);
	}

	public int updateset(Book book) {
		
		return as.updateset(book);
	}

	public List<Book> findBookAll1() {
		
		return as.findBookAll();
	}

}
